x86/vmx: remove dead code to create domains without a vLAPIC
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 14 Mar 2022 09:29:24 +0000 (10:29 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 14 Mar 2022 09:29:24 +0000 (10:29 +0100)
commit3f809886988767fff46f440f4fc6d252fb586ace
tree9b4ad8778c35a1bc7f987922f0f203d2762148ce
parent23658e823238742dc5a17a0bac9f38c997dedd55
x86/vmx: remove dead code to create domains without a vLAPIC

After the removal of PVHv1 it's no longer supported to create a domain
using hardware virtualization extensions and without a local APIC:
PVHv2 mandates domains to always have a LAPIC. Remove some stale code
in VMCS construction and related helpers that catered for that
use-case.

No functional change.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/hvm/vmx/vmx.c